package com.bawei.module_mine.model.api

import com.bawei.lib_net.entity.ResponseEntity
import com.bawei.module_mine.model.entity.*
import retrofit2.http.Body
import retrofit2.http.POST

interface OrderApi {
    @POST("/mall/oder/couponMaxDis")
    suspend fun getCouponMaxDis(@Body body: OrderCouponMaxDisRequest): ResponseEntity<OrderCouponMaxDisResultVO>

    @POST("/mall/oder/orderCashDetail")
    suspend fun getOrderCashDetail(@Body body: OrderCashDetailRequest): ResponseEntity<OrderCashDetailResultVO>

    @POST("/mall/oder/payCostTrial")
    suspend fun getPayCostTrial(@Body body: OrderPayCostTrialRequest): ResponseEntity<OrderPayCostTrialResultVO>

    @POST("/mall/oder/placeOrderCouponSelect")
    suspend fun getOrderCouponSelect(@Body body: OrderCouponSelectRequest): ResponseEntity<OrderPlaceOrderCouponSelectResultVO>

    @POST("/mall/oder/shippingTemplateInfo")
    suspend fun getShippingCost(@Body body: OrderShippingCostRequestEntity): ResponseEntity<OrderShippingCostResultVO>
} 